package top.milkbox.service;

import top.milkbox.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author xiaoguo
 * @description 针对表【tb_order】的数据库操作Service
 * @createDate 2022-04-21 17:47:56
 */
public interface OrderService extends IService<Order> {

    /**
     * SELECT * FROM tb_order
     * WHERE company="tt" AND order_number="1003"
     * ORDER BY datatime desc;
     *
     * @param company     公司名称
     * @param orderNumber 订单号
     * @return 订单列表
     */
    List<Order> findByCompanyAndOrderNumberOrder(String company, String orderNumber);

}
